class Game:

    toop_score=0
    def __init__(self,player_name):
        self.player_name=player_name

    @staticmethod
    def show_help():
        print('欢迎来到连连看')

    @classmethod
    def show_top_score(cls):
        print(f'历史最高分是{cls.toop_score}')

    def start_game(self):
        print('游戏开始')
        print('时间到')

if __name__ == '__main__':
    Game.show_help()
    Game.show_top_score()
    xiaoming=Game(player_name='小明')
    xiaoming.start_game()
    Game.toop_score=100
    Game.show_top_score()

    xiaomei=Game(player_name='小美')
    xiaomei.start_game()
    Game.toop_score=666
    Game.show_top_score()


